﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Runtime.Serialization;

namespace Boiling.Common
{
    public class b_Diary_Mesdata: DataSet
    {
        public const string b_Diary_Mes_Table = "b_Diary_Mes";
        public const string Mes_ID_Field = "Mes_ID";
        public const string Diary_ID_Field = "Diary_ID";
        public const string Guest_ID_Field = "Guest_ID";
        public const string Mes_Content_Field = "Mes_Content";
        public const string Mes_Date_Field = "Mes_Date";



        public b_Diary_Mesdata(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
        public b_Diary_Mesdata()
        {
            Buildb_Diary_MesdataTables();
        }
        private void Buildb_Diary_MesdataTables()
        {
            DataTable table = new DataTable(b_Diary_Mes_Table);
            DataColumnCollection columns = table.Columns;
            columns.Add(Mes_ID_Field, typeof(System.Int32));
            columns.Add(Diary_ID_Field, typeof(System.Int32));
            columns.Add(Guest_ID_Field, typeof(System.String));
            columns.Add(Mes_Content_Field, typeof(System.String));
            columns.Add(Mes_Date_Field, typeof(System.DateTime));

            this.Tables.Add(table);
        }




    }
}